<!DOCTYPE html>
<html lang="en">
<head>
    <script src="../static/js/jquery-3.6.0.min.js"></script>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户注册</title>
    <link rel="stylesheet" href="../static/css/style.css">
    <link rel="stylesheet" href="../static/css/register.css">
</head>
<body>
    <div id="register-form">
        <h2>用户注册</h2>
        <form action="/register" method="post">
            <h4>{{error}}</h4>
            <div>
                <label for="username">用户账号：</label>
                <input type="text" id="username" name="username">
            </div>
            <div>
                <label for="password">密码：</label>
                <input type="password" id="password" name="password">
            </div>
            <div>
                <input type="submit" value="注册">
            </div>
        </form>
    </div>
</body>
</html>
<!-- <!DOCTYPE html>
<html lang="en">
<head>
    <script src="../static/js/jquery-3.6.0.min.js"></script>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户注册</title>
    <link rel="stylesheet" href="../static/css/style.css">
    <link rel="stylesheet" href="../static/css/register.css">

</head>
<body>
    <h2>用户注册</h2>
    <form action="/register" method="post">
        <h4>{{error}}</h4>
        <div>
            <label for="uersname">用户账号：</label>
            <input type="text" id="uersname" name="uersname">
        </div>
        <div>
            <label for="password">密码：</label>
            <input type="password" id="password" name="password">
        </div>
        <div>
            <input type="submit" value="注册">
        </div>
    </form>
</body>
</html> -->
<!-- <style>
    body {
        font-family: Arial, sans-serif;
        background-color: #f4f4f4;
        padding: 20px;
    }
    h2 {
        text-align: center;
        margin-bottom: 20px;
    }
    form {
        max-width: 300px;
        margin: 0 auto;
    }
    label {
        margin-bottom: 5px;
        display: block;
    }
    input {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
        box-sizing: border-box;
    }
    input[type="submit"] {
        background-color: #4CAF50;
        color: white;
        border: none;
        padding: 15px 20px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        margin: 4px 2px;
        cursor: pointer;
        width: 100%;
    }
    h4{
        color: red;
    }
</style> -->
